package com.lanou3g.demo.entity;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AdminRole {

  private long adminId;
  private long roleId;

  private List<RoleInfo> roleInfoList;

  public AdminRole() {
  }

  @Override
  public String toString() {
    return "AdminRole{" +
            "adminId=" + adminId +
            ", roleId=" + roleId +
            ", roleInfo=" + roleInfoList +
            '}';
  }

  public List<RoleInfo> getRoleInfo() {
    return roleInfoList;
  }

  public void setRoleInfo(List<RoleInfo> roleInfo) {
    this.roleInfoList = roleInfo;
  }

  public long getAdminId() {
    return adminId;
  }

  public void setAdminId(long adminId) {
    this.adminId = adminId;
  }


  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }

}
